package com.lsk.servicemap.controller;

import com.lsk.internalcommon.DTO.ResponseResult;
import com.lsk.servicemap.service.TraceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 高德地图轨迹管理
 */
@RestController
@RequestMapping("/trace")
public class TraceController {
    @Autowired
    private TraceService traceService;

    @PostMapping("/add")
    public ResponseResult add(@RequestParam String tid){

        return traceService.add(tid);
    }
}
